package com.study.s05.chain;

public class TestDoubleLinkList {

	public static void main(String[] args) {
		
		DoubleLinkList dll = new DoubleLinkList();
		dll.insertFirst(12);
		dll.insertFirst(34);
		dll.insertFirst(56);
		dll.display();
		
		while(!dll.isEmpty()) {
			//dll.deleteFirst();
			dll.deleteLast();
			dll.display();
		}
	}

}
